export default {
	data() {
		return {
		 }
	},
	onShow() {
	},
	onLoad() {
	},
	methods: {
	 matchok(){
	 	uni.navigateTo({
	 		url:'/pages/index/map'
	 	})
	 },
	 pay(){
		uni.requestPayment({
		    provider: 'wxpay',
			timeStamp: String(Date.now()),
			nonceStr: 'A1B2C3D4E5',
			package: 'prepay_id=wx20180101abcdefg',
			signType: 'MD5',
			paySign: '',
			success: function (res) {
				console.log('success:' + JSON.stringify(res));
			},
			fail: function (err) {
				console.log('fail:' + JSON.stringify(err));
			}
		}); 
	 }
	},
	onPageScroll : function(e) {
		// console.log("滚动距离为：" + e.scrollTop);
	},
	onReachBottom : function(e) {
		console.log("触发底部");
	},
	
}